#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"



int main()
{
	ListNode* L1 = (ListNode*)malloc(sizeof(ListNode));
	ListNode* L2 = (ListNode*)malloc(sizeof(ListNode));
	ListNode* L3 = (ListNode*)malloc(sizeof(ListNode));
	ListNode* L4 = (ListNode*)malloc(sizeof(ListNode));
	ListNode* L5 = (ListNode*)malloc(sizeof(ListNode));

	L1->next = L2;
	L1->val = 1;

	L2->next = L3;
	L2->val = 2;

	L3->next = L4;
	L3->val = 3;

	L4->next = L5;
	L4->val = 4;

	L5->next = NULL;
	L5->val = 5;


	ListNode* ret = reverseBetween(L1, 2, 4);
	
	return 0;
}